/* 
 * Various definitions of constants used within the elevator controll system
 */
#ifndef __ELEVATOR_CONFIG__
#define __ELEVATOR_CONFIG__

#define NUM_OF_FLOORS 5
#define STARTING_FLOOR 1

/* Connection related stuff */
#define HOSTNAME "localhost" 
#define PORT 1337

/* DIRECTIONS */
#define UP 2
#define DOWN 1
#define NA 0

/* TIMES */
#define MS 1000000
#define SEC 1000 * MS
#define SUPER_SLEEP 500 * MS
#define STATUS_SLEEP 75 * MS
#define SEC_PER_FLOOR 2 * SEC
#define DOOR_OPEN_TIME 1500 * MS
#define DOOR_CLOSE_TIME 1500 * MS
#define DOOR_AJAR_TIME 7 * SEC

#endif
